<style>
    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        background-color: white;
        color: black;
    }
.order_table { width:680px;; margin:0px; overflow:hidden; page-break-after: always;}
.order_table table th { font-size:13px; border-bottom:2px #000 solid; height:35px; }
/*.order_table table td { border-bottom:1px #000 dashed;}*/
.order_table table td .num { text-align:center; }
.order_table tfoot td { border:0px;}
.ptd td { font-size:13px; line-height: 1.5em;}
.ptd ,.nob {width:650px;}
.nob ,.nob td {border:0px;}
</style>
<volist name="ases" id="o">

<div class="order_table">
<fieldset style=" border:1px outset #000000;">
            <legend><h3>{$o['id']}</h3></legend>
            <h1 align="center">{$o['id']}</h1>
            <br/>
            <br/>
            <br/>
            <br/>
            <br/>
            <br/>
<table width="650" border="0" cellspacing="0" cellpadding="0" class="nob" style="border-bottom: 2px #aaa solid;">
  <tr>
  	<td width="200"><empty name="noprint"><div style=" padding-left: 10px;width:180px; height:40px; overflow:hidden;"></div></empty></td>
    <td align="right" valign="bottom"><em><h2 style="display: inline;">{$o['id']}</h2>订单号：{$o['sn']}<br/><span style="color: #666;font-size: 12px;">下单时间：{$o['add_time']|date='Y-m-d H:i:s',###}</span></em></td>
  </tr>
</table>
<div style="line-height:1.5em; float: left; width: 200px; font-size: 12px; padding: 10px 0 10px 20px;">
    <strong>收货地址：</strong><br />{$Area[$o['address']['province']]['name']}{$Area[$o['address']['city']]['name']}{$Area[$o['address']['district']]['name']}{$o.address.address}
</div>
<div style="line-height:1.5em; float: right; width: 250px; font-size: 12px; padding: 10px 0 10px 0;">
    <strong>{$o.address.consignee}</strong><br />
    电话：{$o.address.tel}&nbsp; <br/>   手机：{$o.address.mobile}<br />
</div>
<div style="line-height:1.5em; float: left; width: 200px; font-size: 12px; padding: 10px 0 10px 20px;">
    <strong>订单留言：</strong><br />{$o['ext']['beizhu']['value']}</div>
<table border="1" cellpadding="2" cellspacing="0" class="ptd">
    <thead>
    <tr valign="bottom">
    <th>产品id</th>
    <th>商品名称</th>
    <th>数量</th>
    <!-- <th>单价</th>
    <th>BV</th>
    <th>金额</th> -->
    <th>缺货数</th>
    <th width="10%">签名</th>
  </tr>
  </thead>
  
  <tbody>
	<volist name="o.goods" id="vo">
  <tr valign="bottom">
  	<td align="center">{$vo['product_id']}</td>
    <td align="center">{$vo['product_name']}</td>
     <td align="center">{$vo['number']}</td>
    <!-- <td align="center">{$vo['price']/100}</td>
   <td align="center">
   {if $coupondata[$o['id']]}
   <php>$tre =true;</php>
   	<volist name="coupondata[$o['id']]" id="c">
               	{if $c['goods_id']==$vo['product_id'] && $c['subject']=='BV'}{$c['value']/100}<php>$tre=false;</php>{/if}
     </volist>
     {if $tre}0{/if}
     {else}
     0
     {/if}
   	</td>
    <td align="center"><span class="count_price" id="count_price_{$vo['id']}">{$vo['priceall']/100}</span></td> -->
    <td></td>
    <td></td>
  </tr>
  
  
	</volist>
	<tr>
  <td colspan="8"><table border="1" cellpadding="2" cellspacing="0" width="100%">
    <tr><td width="10%">制表人：</td><td>&nbsp;</td><td width="10%">配单员：</td><td>&nbsp;</td><td width="10%">领货人：</td><td>&nbsp;</td></tr>
    <tr><td>物流员：</td><td>&nbsp;</td><td>接收员：</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
</table></td>
  </tr>
    </tbody>
</table>
<empty name="noprint">
<p style="border-top: 2px #aaa solid; text-align: center; color: #666;">
</p>
</empty>
</fieldset>
</div>

</volist>
<empty name="noprint">
<script type="text/javascript">
        window.focus();
        window.print();
</script>
</empty>